.TH std::ranges::transform_view::iterator::operator[] 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::ranges::transform_view::iterator::operator[] \- std::ranges::transform_view::iterator::operator[]

.SH Synopsis
   constexpr decltype(auto) operator[]( difference_type n ) const  \fI(since C++20)\fP
     requires ranges::random_access_range<Base>;

   Returns the element at specified relative location, after transformation.

   Effectively returns std::invoke(*parent_->fun_, current_[n]), where *parent_->fun_
   is the transformation function stored in the parent transform_view, and current_ is
   the underlying iterator into V.

.SH Parameters

   n - position relative to current location.

.SH Return value

   the transformed element

.SH Example

    This section is incomplete
    Reason: no example

.SH Category:
     * Todo no example
